package com.yuqing.sentimentapp.workspace.search.entity;

import com.google.gson.annotations.SerializedName;
import com.linkface.baselibrary.http.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by shenhe on 2020/4/21.
 */
public class CityResult extends BaseBean implements Serializable {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * code : 130100
         * name : 石家庄市
         */

        @SerializedName("code")
        private String code;
        private String name;

        public String getCode() {
            return code;
        }

        public void setCode(String codeX) {
            this.code = codeX;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
